import { post } from '@/utils/request'

// 获取upload签名
export const getPolicy = (p, type) => post(`/service-file/b/file/oss/v1/policy`, p, type)

// 获取省市区下拉信息
export const getAreaList = p => post(`/service-global/g/area/v1/listByParentCode/${p.code}`, p, 'get')

// 获取省市区树形下拉信息
export const getAreaTreeList = p => post(`/service-global/g/area/v1/treeList/${p.code}`, p, 'get')
